/**
 * Created by Administrator on 2018/9/21.
 */
var config={
    enterprise:{//公司
        name:'杭州佰盛网络科技有限公司',
        phone:'188-7731-1793',
        QQ:'749066341',
        weChat:'Aw749066341',
        site:'版权所有 © 衢州佰盛网络科技有限公司浙ICP备18048486号-1'
    },
    product:{
        name:'股盛策略',
        domain:'http://www.haogusheng.com',
        beishu:'10',
        rise:'80',
    },
    banner:[
        {
            img:'/img/banner/banner2.jpg',
            url:'javascript:void(0)'
        },{
            img:'/img/banner/banner3.jpg',
            url:'javascript:void(0)'
        }
    ]
};
var banenr='';
for(var i=0;i<config.banner.length;i++){
    banenr+=' <a href="'+config.banner[i].url+'" class="swiper-slide" style="height: 100%">' +
        '<img src="'+config.banner[i].img+'" style="height: 100%;">' +
        '</a>'
}
// $('#bannerHtml').html(banenr);
(function () {
    //检测DNS劫持
    // document.title = config.product.name;


    $('.enterpriseName').text(config.enterprise.name);
    $('.phone').text(config.enterprise.phone);
    $('.site').text(config.enterprise.site);
    $('.productName').text(config.product.name);
    $('.domain').text(config.product.domain).attr('href',config.product.domain);
    $('.beishu').text(config.product.beishu);
    $('.rise').text(config.product.rise);
})();
